home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / ghostscr / ghostscr.zip / PS2EPSI.DOC < prev    next >
Text File  |  1993-08-03  |  3KB  |  63 lines

  1.     NOTE: this file was contributed by a user: please contact
  2.     George Cameron <george@bio-medical-physics.aberdeen.ac.uk>
  3.     if you have questions.
  4.  
  5. OVERVIEW:
  6.  
  7.  ps2epsi is a utility, based on Ghostscript, which takes an input postscript
  8.  file and generates a new output file which conforms to Adobe's 'Encapsulated
  9.  Postscript Interchange' or EPSI format. This is a special form of encapsulated
  10.  postscript (EPS) which adds a bitmap version of the final displayed page (in
  11.  the form of postscript comments) to the beginning of the file. This bitmap
  12.  can be used by programs which understand EPSI (usually word processors or
  13.  DTP programs) to give a preview version of the postscript on screen. The
  14.  displayed quality is often not very good (eg. low resolution, no colours),
  15.  but the final printed version uses the 'real' postscript, and thus has the
  16.  normal full postscript quality.
  17.  
  18. FRAMEMAKER:
  19.  
  20.  The Framemaker DTP system is one application which understands EPSI files,
  21.  and ps2epsi has been tested on a number of postscript diagrams from a
  22.  variety of sources, using Framemaker 3.0 on a Sun. I believe that Framemaker
  23.  on the other platforms should also be able to use these files, although I
  24.  have not been able to test this.
  25.  
  26. FILES:
  27.  
  28.  ps2epsi.doc    - this file
  29.  ps2epsi.bat    - MSDOS batch file
  30.  ps2epsi    - Unix shell script
  31.  ps2epsi.ps    - the Ghostscript program which does the work
  32.  
  33. MSDOS USAGE:
  34.  
  35.  Using the supplied batch file, the command is simply:
  36.  
  37.     ps2epsi infile.ps outfile.epi
  38.  
  39.  where infile.ps is the original postscript file, and outfile.epi is the
  40.  name of the output file.
  41.  
  42. UNIX USAGE:
  43.  
  44.  Using the supplied shell script, the command is:
  45.  
  46.     ps2epsi infile.ps [outfile.epsi]
  47.  
  48.  where infile.ps is the input file and outfile.epsi is the output EPSI
  49.  file. If the output filename is omitted, it will be generated from the
  50.  input filename - if a standard extension (.ps, .cps, .eps or .epsf) is 
  51.  used, this will be replaced with the output extension .epsi .
  52.  
  53. LIMITATIONS:
  54.  
  55.  Successful encapsulation of arbitrary postscript files cannot be guaranteed,
  56.  as there are certain restrictions in what is permitted in a postscript file
  57.  for it to be properly encapsulated. ps2epsi does a little extra work to
  58.  try to help encapsulation, and it automatically calculates the bounding box
  59.  (required for all encapsulated postscript files), so, most of the time, it
  60.  does a pretty good job. There are bound to be cases, however, where the
  61.  encapsulation will not work, because of the content of the original postscript
  62.  file.
  63.